package com.example.demo.action

import xyz.erupt.annotation.sub_erupt.*
import xyz.erupt.tpl.annotation.*

@EruptTpl(engine = Tpl.Engine.Velocity)
class VelocityTplAction {
    @TplAction(value = "velocity.vm", path = "/tpl/velocity/velocity.vm")
    fun velocity(): Map<String, Any> {
        val map: MutableMap<String, Any> = HashMap()
        map["num"] = intArrayOf(1, 2, 3, 4, 5, 6, 7, 8, 9)
        return map
    }
}